package cn.eeepay.framework.service.workOrder;

import cn.eeepay.framework.db.pagination.Page;
import cn.eeepay.framework.model.AgentInfo;
import cn.eeepay.framework.model.workOrder.WorkWarningInfo;

import java.util.List;
import java.util.Map;

public interface WorkWarningService {

    /**
     * 首页获取工单预警相关信息
     * @param result
     * @param loginAgent
     */
    void workWarning(Map<String, Object> result, AgentInfo loginAgent);

    /**
     * 工单预警查询
     * @param info
     * @param page
     * @return
     */
    List<WorkWarningInfo> selectWorkWarningList(WorkWarningInfo info, Page<WorkWarningInfo> page);


    /**
     * 工单预警已读
     * @return
     */
    int closeWorkWarning(Long id, Map<String, Object> msg);
}
